home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / ghost / gs403src_amiga.lha / gs4.03 / configure.in < prev    next >
Text File  |  1997-03-16  |  716b  |  26 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(gs.c)
  3.  
  4. # We want these before the checks, so the checks can modify their values.
  5. test -z "$CFLAGS" && CFLAGS= auto_cflags=1
  6. test -z "$LDFLAGS" && LDFLAGS=
  7.  
  8. AC_PROG_CC
  9.  
  10. # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
  11. test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
  12.  
  13. AC_SUBST(CFLAGS)dnl
  14. AC_SUBST(LDFLAGS)dnl
  15.  
  16. AC_PROG_CPP
  17. AC_GCC_TRADITIONAL
  18. AC_PROG_INSTALL
  19.  
  20. AC_OUTPUT(devs.mak gcc-head.mak gs.mak int.mak jpeg.mak \
  21.           lib.mak libpng.mak unix-end.mak unixhead.mak  \
  22.           unixtail.mak zlib.mak tar_cat)
  23.  
  24. AC_OUTPUT_COMMANDS([sh tar_cat])
  25. AC_OUTPUT_COMMANDS([copy unix-gcc.mak makefile])
  26.